package ApplicationStart.Configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration
@ConfigurationProperties(prefix = "spark")
public class SparkDefaultConfig {
    private String master = "local[2]";
    private String appname = "hello spark";
    private String[] jarpath = {""};

    public String getMaster() {
        return master;
    }

    public void setMaster(String master) {
        this.master = master;
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    public String[] getJarpath() {
        return jarpath;
    }

    public void setJarpath(String[] jarpath) {
        this.jarpath = jarpath;
    }
}
